from django.db import models

# Create your models here.

class UserInfo(models.Model):
    username = models.CharField(max_length=32)
    password = models.IntegerField()
    email = models.EmailField()


from django.contrib.auth.models import AbstractUser

class MyUser(AbstractUser):
    # 继承类没有的字段
    phone = models.BigIntegerField(null=True)
    desc = models.TextField(null=True)